﻿@using KaytechSoftware.Cms.Common.Helpers
@model KaytechSoftware.Cms.App.Areas.Content.Models.PhotoBundleModel
@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@if (Model.Photos != null)
{
    <div class="photo-details">
        @foreach (var item in Model.Photos)
        {
            <a class="lightbox" href="@PathHelper.PhotoPathForWeb(Model.PhotoAlbumId, item.Id, item.Version)">
                <img style="float: left;" src="@PathHelper.PhotoThumbPathForWeb(Model.PhotoAlbumId, item.Id, item.Version)" />
            </a>
        }
    </div>
}